package com.jali.crud.dao;

import com.jali.crud.bean.JaTask;
import com.jali.crud.bean.JaTaskExample;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface JaTaskMapper {
    long countByExample(JaTaskExample example);

    int deleteByExample(JaTaskExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(JaTask record);

    int insertSelective(JaTask record);

    List<JaTask> selectByExample(JaTaskExample example);

    JaTask selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") JaTask record, @Param("example") JaTaskExample example);

    int updateByExample(@Param("record") JaTask record, @Param("example") JaTaskExample example);

    int updateByPrimaryKeySelective(JaTask record);

    int updateByPrimaryKey(JaTask record);

    public List<JaTask> getJaTaskByUserId(String userId);

    void updateStatusById(int parentid);
}